home *** CD-ROM | disk | FTP | other *** search
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; Version identifies stlye (WIN4) and class
- ; Class is usually used to get all infs for a
- ; product or driver type if an exe it giving
- ; users a list of things to install, for example
- ; all video drivers infs in the windows\inf directory
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
- [version]
- signature="$CHICAGO$"
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; Install sections, these are the options
- ; for building the installation file lists
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
- [DefaultInstall]
- ; we are leave this blank so that a right mouse click
- ; install does do anything
- ; we are chosing to do this because we want our install to
- ; give the user a choice of where to install to
- ; For drivers or other installations where the files must go
- ; to a predetermined location (like windows\system) this section
- ; can be used
-
- [WFTPDInstall]
- CopyFiles=WFTPD.copy.files
- AddReg=WFTPD.Add.Reg
- UpdateInis=WFTPD.links
-
- [WFTPDInstall.Services]
- AddService="WFTPD Pro", , WFTPDSrvInst, WFTPDSrvInstLog
-
- [WFTPDSrvInst]
- DisplayName="WFTPD Pro"
- ServiceType=0x10 ; SERVICE_WIN32_OWN_PROCESS
- StartType=0x2 ; AutoStart
- ErrorControl=0x1 ; NORMAL
- ServiceBinary=%65600%\WFTPD.EXE
-
- [WFTPDSrvInstLog]
- AddReg=WFTPDSrvInstLogReg
-
- [WFTPDSrvInstLogReg]
- HKLM,"%EVENTLOG_KEY%",EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll\;%65600%\WFTPD.EXE"
- HKLM,"%EVENTLOG_KEY%",TypesSupported,0x00010001,7
-
- [OptionBSection]
- CopyFiles=WFTPD.copy.filesB
-
- [OptionCSection]
- CopyFiles=WFTPD.filesC
-
- [OptionDSection]
- CopyFiles=WFTPD.filesD
-
- ;;;;;;;;;;
- ; Uninstall
-
- [DefaultUninstall]
- ; be sure to remove everything
- DelFiles=WFTPD.del.files,
- DelFiles=WFTPD.del.filesB,WFTPD.filesC,WFTPD.filesD
- DelReg=WFTPD.Del.Reg
- UpdateInis=del.links
-
- [DefaultUninstall.Services]
- DelService=WFTPD Pro
-
- [WFTPDUninstall]
- ; be sure to remove everything
- DelFiles=WFTPD.copy.files
- DelFiles=WFTPD.copy.filesB,WFTPD.filesC,WFTPD.filesD
- DelReg=WFTPD.Del.Reg
- UpdateInis=del.links
-
- [WFTPDUninstall.Services]
- DelService=WFTPD Pro
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; Registry sections, used by different install
- ; sections above
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
- [WFTPD.Add.Reg]
- ;
- ; Product Registry entries here
- ; For compatibility you must specify 0,1,2,3 for the fourth
- ; parameter if you want to specify a value
- ;
- HKLM,%REG_ROOT%,"Version",0,"%VERSION%"
- ;
- ; Register shared components, note these are bogus names in this sample
- ;
- ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs,%11%\myprodsys.dll,1,01,00,00,00
- ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs,%65600%\myproduct.dll,1,01,00,00,00
- ;
- ; for add/remove programs applet
- ;
- HKLM,%REG_UNINS%,"DisplayName",0,"WFTPD Pro %VERSION%"
- HKLM,%REG_UNINS%,"UninstallString",0,"Rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 %65600%\wftpdpro.inf"
-
- ;;;;;;;;;
- ;
- ; registry delete works by pruning the tree,
- ; so if you have interdependent values, put thems in subkeys and
- ; not in values of the main key since when you prune all the values are lost
- ;
-
- [WFTPD.Del.Reg]
- ;
- ;Registry entries here
- ;
-
- HKLM,SOFTWARE\Texas Imperial Software\WFTPDPro,"Version",,
- HKLM,SOFTWARE\Texas Imperial Software\WFTPDPro,,,
-
- ;
- ; for add/remove programs applet
- ;
-
- HKLM,%REG_UNINS%,"DisplayName",,
- HKLM,%REG_UNINS%,"UninstallString",,
- HKCU,%REG_UNINS%,,,
-
- ; Service stuff.
- HKLM,"%EVENTLOG_KEY%",EventMessageFile,,
- HKLM,"%EVENTLOG_KEY%",TypesSupported,,
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; Disk lay out information, used by the CopyFiles lists
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; This is the source disk identifiers the number at the
- ; beginning maps to the SourceDisksFiles first parameter
-
- [SourceDisksNames]
- 1="WFTPD Pro Installation Disk","",
-
- ;;;;;;;;;;;;;;;;;;
- ;
- ; SourceDisksFiles -
- ; this must have ALL file names in any copyfiles section
- ; so that the default copyfile error callback dialog (browse,skip)
- ; can use the SourceDisksNames strings above to help find the file
- ; -- this infomation can also be put in a layout.inf
- ;
- ; filename_on_source = diskid,subdir,size,checksum,spare,spare
- ;
-
- [SourceDisksFiles]
- WFTPD.EXE = 1,,
- README.TXT = 1,,
- WFTPDPRO.INF = 1,,
- INSTALL.TXT = 1,,
- WHATSNEW.TXT = 1,,
-
- INI2REG.EXE = 1,,
- INI2REG.HLP = 1,,
-
- WFTPD.CPL = 1,,
-
- WFTPD.CNT = 1,,
- WFTPD.HLP = 1,,
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; Targetdirectories predefined for [DestinationDirs] section
- ; parameter number one
- ; 00 = null, use only the second parameter for a path
- ; 11 = windows system directory
- ; ...
- ;
-
- [DestinationDirs]
- ;
- ; a default if a particular copyfiles section
- ;
- ; DefaultDestDir=LDID[,subdir] ; not used in this sample
-
- WFTPD.del.files=01 ; 01 is the source directory
- WFTPD.del.filesB=01
-
- ;
- ; Run time defined strings, these are set with
- ; SetupSetDirectoryId once this inf is openned
- ;
-
- WFTPD.copy.files=65600 ; 65600 is a random choice for a dirid
- WFTPD.copy.filesB=65600 ; note this must be set by a calling
- ; application and must be > 65536
- WFTPD.filesC=11
- WFTPD.filesD=11
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; These are the CopyFiles lists, here is where the files
- ; for each component are defined
- ; Note the last param (parm 4) is the CopyFlag for that
- ; File, for example 8 means copy on restart--see the doc for more
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- [WFTPD.copy.files]
- WFTPD.EXE,,,0x10000
- README.TXT,,,0x10000
- WFTPDPRO.INF,,,0x10000
- INSTALL.TXT ,,,0x10000
- WHATSNEW.TXT ,,,0x10000
-
- [WFTPD.copy.filesB]
- INI2REG.EXE,,,0x10000
- INI2REG.HLP,,,0x10000
-
- [WFTPD.del.files]
- WFTPD.EXE,,,0x10000
- README.TXT,,,0x10000
- WFTPDPRO.INF,,,0x10000
- INSTALL.TXT ,,,0x10000
- WHATSNEW.TXT ,,,0x10000
-
- [WFTPD.del.filesB]
- INI2REG.EXE,,,0x10000
- INI2REG.HLP,,,0x10000
-
- [WFTPD.filesC]
- WFTPD.CPL,,,0x10000
-
- [WFTPD.filesD]
- WFTPD.CNT,,,0x10000
- WFTPD.HLP,,,0x10000
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; INI sections, used to create and delete icons
- ; other uses are possible
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- [WFTPD.links]
- ;create folders
- setup.ini, progman.groups,,"WFTPDGroup=WFTPD Pro"
- ; create links
- ; second param must match above and the linked to file must really exist
- setup.ini, WFTPDGroup,,"%PRODUCT_DESC%,%11%\WFTPD.cpl,,,"
- setup.ini, WFTPDGroup,,"%README_DESC%,%65600%\readme.txt,,,"
- ;Add desktop icons here
-
- [del.links]
- ;remove folders
- setup.ini, progman.groups,,"WFTPDGroup=WFTPD Pro"
- ; remove links
- ; second param must match above and last param is EXACT description name
- setup.ini, WFTPDGroup,,"%PRODUCT_DESC%"
- setup.ini, WFTPDGroup,,"%README_DESC%"
- ;remove desktop icons here
-
- [del.links.old]
- ;setup.ini, progman.groups,,"WFTPDFolderOld=%DESC_OLD%"
- ;setup.ini, WFTPDFolderOld,, """%README_DESC%"""
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; Strings replace variable in percents above
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- [Strings]
- PRODUCT_DESC = "WFTPD Pro"
- README_DESC = "WFTPD Pro Readme"
- VERSION = "2.41 RC14 [30-day trial]"
- EVENTLOG_KEY = "SYSTEM\CurrentControlSet\Services\EventLog\Application\WFTPD Pro"
- REG_ROOT = "SOFTWARE\Texas Imperial Software\WFTPDPro"
- REG_UNINS = "SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\WFTPD Pro"
-
- ;
- ; Optional Components are not demonstrated in this samples
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;
- ; Optional Install sections, these are the options
- ; for building the installation file lists for optional
- ; components. This is used for example with "Have Disk"
- ; on the windows setup add/remove programs applet
- ;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;[Option Components]
- ;OptionalInstall
- ;
- ;[OptionalInstall]
- ;CopyFiles=WFTPD.optional.copy.files
- ;OptionDesc="Optional WFTPD components"
- ;Tip="Install these optionally"
- ;InstallDefault=0 ; 1 if this section should be installed by default
- ;IconIndex=11 ; Icon to display, see doc for choices, 11 is the default
- ;;Parent=install-section
- ;Needs=DefaultInstallation ; dependency the user is warned about
- ;Include=additional.inf ; inf automatically included
-
-